{{! 列头 }}

{{#rows}}
<tr>
    {{#each this}}
    {{#if isShow }}
    {{! 数据列 }}
    {{#isData type}}
    <td class="{{widthClass}} {{classes}}">
        <div class="ui-table-td">
            <div class="ui-table-td-content" data-property="{{property}}"
                 data-toggle="tooltip"
                 data-placement="top"
                 data-original-title="Tooltip on right" title="{{titleData}}">
                {{{valueData}}}
            </div>
        </div>
    </td>
    {{/isData}}
    {{! 选择列 }}
    {{#isCheckbox type}}
    <td class="{{widthClass}} {{classes}}">
        <div class="ui-table-td">
            <div class="ui-table-td-content">
                <input type="checkbox" data-index="{{rowIndex}}" {{#isReadonly}}disabled{{/isReadonly}}/>
            </div>
        </div>
    </td>
    {{/isCheckbox}}
    {{! 命令列 }}
    {{#isCommand type}}
    <td class="{{widthClass}} {{classes}}" data-property={{property}} data-label={{label}}>
        <div class="ui-table-td">
            <div class="ui-table-td-content">
                <a style="{{commandStyle}}"
                   class="command"
                   data-command_name="{{commandName}}"
                   data-index="{{rowIndex}}"
                   data-property="{{label}}" {{#isReadonly}}disabled{{/isReadonly}}>
                    {{valueData}}
                </a>
            </div>
        </div>
    </td>
    {{/isCommand}}
    {{! 颜色列 }}
    {{#isColor type}}
    <td class="{{classes}}" style="width:16px; padding: 0px; background: {{valueData}}" title={{titleData}}>
    	{{#if isShowAdd}}
    	<div>{{{addInputData}}}</div>
    	{{/if}}
    </td>
    {{/isColor}}
    {{/if}}
    {{/each}}
</tr>
{{/rows}}